package com.example.springboot.document;

import java.io.Serializable;

/**
 * @Description: GoodsDo
 * @Author wenlinyu
 * @Date: 2020/12/17 9:50
 * @Version 1.0
 */
public class GoodsDo implements Serializable {

    private Long id;
    private String name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public GoodsDo(Long id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public String toString() {
        return "GoodsDo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
